#ifndef __ERROR_TYPE_H
#define __ERROR_TYPE_H

#define LINK_LIST_MODE 1

#if (defined(SEQUENCE_LIST_MODE)&&(SEQUENCE_LIST_MDOE == 1))
#define  GENERAL_OK (0)
#define  CREAT_SEQUENCE_LIST_OK (0)
#define  CREAT_SEQUENCE_LIST_ERROR (-1)
#define  ADD_SEQUENCE_LIST_DATA_OK (0)
#define  ADD_SEQUENCE_LIST_POSITION_FAULT (-3)
#define  POINTER_IS_NULL_ERROR (-1)
#define  SEQUENCE_LIST_IS_FULL (-2)
#define  SEQUENCE_LIST_IS_NULL (-3)
#define  SHOW_SEQUENCE_LIST_OK (0)
#define  DELETE_SEQUENCE_LIST_DATA_OK (0) 
#define  AMEND_SEQUENCE_LIST_DATA_OK (0)
#define  AMEND_SEQUENCE_LIST_POSITION_FAULT (-3)
#elif (defined(LINK_LIST_MODE)&&(LINK_LIST_MODE == 1))

#define  GENERAL_OK (0)
#define  CREAT_LINK_LIST_OK (0)
#define  CREAT_LINK_LIST_ERROR (-1)
#define  ADD_LINK_LIST_DATA_OK (0)
#define  ADD_LINK_LIST_POSITION_FAULT (-3)
#define  POINTER_IS_NULL_ERROR (-1)
#define  LINK_LIST_IS_FULL (-2)
#define  LINK_LIST_IS_NULL (-3)
#define  SHOW_LINK_LIST_OK (0)
#define  DELETE_LINK_LIST_DATA_OK (0) 
#define  AMEND_LINK_LIST_DATA_OK (0)
#define  AMEND_LINK_LIST_POSITION_FAULT (-3)
#define  DESTROY_LINK_LIST_OK (0)
#else

#endif
#endif /*__ERROR_TYPE_H*/